package com.example.demo.infoapp;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "info.app")
public class InfoApp {
    private String name;

    public String getName() {
        return name;
    }

    private String description;

    public String getDescription() {
        return description;
    }

    private String version;

    public String getVersion() {
        return version;
    }
    @Override
    public  String toString(){
        return "InfoApp{"+
                "name=' " + name + '\'' +
                " , description= ' " + description + '\'' +
                " , version=' " + version + '\'' +
                '}';
    }
}